<ion-view title="客户跟进">
  <ion-content header-shrink scroll-event-interval="5">
    <div class="list card" ng-click="Detial(message.cid,message.cname)" ng-repeat="message in messages">
      <div class="item message-record">
        <h2 class="icon ion-record message-record-title" style="">{{message.cname}}</h2>
        <!--<div style="float: right;color:red" class="icon-left"><div class="ion-ios-bell icon" style="color: red;display: -webkit-inline-box;"></div>新消息</div>-->
        <p style="float: right">{{message.sendTime}}</p>

      </div>

      <div class="item item-body">
        <P>{{message.empname}}</P>
        <p ng-if="showMessage(message.textRecord)">
          {{message.textRecord}}
        </p>
        <p ng-if="showMessage(message.imgRecord)">
          <img style="max-width: 60%; " src = {{message.imgRecord}} />
        </p>
        <button class="voice-button" ng-if="showMessage(message.soundRecord)">{{message.textRecord.length}}''</button>
      </div>
    </div>
  </ion-content>
  </ion-content>-->
</ion-view>
